package pers.zc.activiti.thread.demo2;

import lombok.Data;

/**
 * @description 记录status状态实体
 * @Author Lin FuYuan
 * @date 2020/5/28
 */
@Data
public class Entity {
    //状态
    private String status;
    //线程实例引用
    private Thread thread;

    public Entity(String status) {
        this.status = status;
    }

    public Entity(String status, Thread thread) {
        this.status = status;
        this.thread = thread;
    }
}
